	
  const {mongoose ,Schema} = require('../../daoconfig');
    //#region  题目
//#region   做题
const do_titles_logs_schema = new Schema({
	userid:{ type: Schema.Types.ObjectId,ref: 'users'},
	tittleid: {type:Schema.Types.ObjectId, ref:'tittles'},
	professionid: {type:Schema.Types.ObjectId, ref:'profession'},
	kemuid: {type:Schema.Types.ObjectId, ref:'kemu'},
	pointid: {type:Schema.Types.ObjectId, ref:'point'},
	stage:{type:Schema.Types.ObjectId, ref:'stage'},
	logs:[
			{
				usrisr:{ type: Number, default:3}, //3未做,1做对,2做错
				usrSelect:{type:String},//用户的选项
				time:{type:Date, default: Date.now}
			}
		]
	  });	

//#endregion


module.exports={
	do_titles_logs_schema
}
